<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0, minimum-scale=1.0, user-scalable=0, initial-scale=1.0, width=device-width"/>
    <meta name="format-detection" content="telephone=no, email=no, date=no, address=no">
    <title>我的大学</title>
    <link rel="stylesheet" type="text/css" href="../../css/api.css" />
    <link rel="stylesheet" type="text/css" href="../../css/main.css" />
    <link rel="stylesheet" type="text/css" href="../../css/colleague.css" />
</head>
<body>
  <div id="header">
    <div id="back"></div>
      <h3>系统设置与说明</h3>
  </div>
  <div id = "set_footer">
      <div class = "set_footer_1 set_footer">
        <div class="set_footer_span">
          <span>联合账号</span>
        </div>
        <div class="go"></div>
      </div>
      <!-- <div class = "set_footer_2 set_footer" style="margin-top: 1px;" onclick="openPage('repassword','repassword.html')" tapmode>
        <div class="set_footer_span">
          <span>修改密码</span>
        </div>
        <div class="go"></div>
      </div> -->

      <div class = "set_footer_5 set_footer" style="margin-top: 1px;">
        <div class="set_footer_span">
          <span>清除缓存</span>
        </div>
          <div class="go"></div>
      </div>

      <div class = "set_footer_6 set_footer" style="margin-top: 10px;">
        <div class="set_footer_span">
          <span>关于协同育人平台</span>
        </div>
        <div class="go"></div>
      </div>
      <div class = "set_footer_7 set_footer" style="margin-top: 1px;">
        <div class="set_footer_span">
          <span>系统使用说明</span>
        </div>
        <div class="go"></div>
      </div>
      <div class = "set_footer_8 set_footer" style="margin-top: 1px;">
        <div class="set_footer_span">
          <span>用户协议</span>
        </div>
        <div class="go"></div>
      </div>

      <div class = "set_footer_9 set_footer" style="margin-top: 10px;">
        <div class="set_footer_span">
          <span>关于我们</span>
        </div>
        <div class="go"></div>
      </div>
  </div>
  <div class="set_bottom exit">
      <span>退出当前账号</span>
  </div>
</body>
<script type="text/javascript" src="../../script/api.js"></script>
<script type="text/javascript" src="../../script/jquery.js"></script>
<script type="text/javascript" src="../../script/main.js"></script>
<script>
  $(function(){

  　　// footer_1 的点击事件
  　　$(".set_footer_1").click(function(){
        api.clearCache(function() {
            api.toast({
                msg: '该功能正在研发，敬请期待'
            });
        });
  　　});
  //     $(".footer_2").click(function(){
  //
  // 　　　　openPage('opinion','./opinion.html');
  // 　　});

  })
</script>
<script>
  apiready=function(){
    back();
    //点击退出按钮
    $(".exit").click(function(){
      toast("退出登录","bottom");
      $api.clearStorage();
      api.rebootApp();
      // aid = $api.getStorage('aid');
      // var url='/api/paAdmin/'+aid+'/logout';
      // var functionRet=function(ret){
      // }
      // var functionErr=function(err){
      //   //toast("对不起，该公司项目经理不在","middle");
      //   if(err.statusCode==200){
      //     toast("退出登录","bottom");
      //     $api.clearStorage();
      //     api.rebootApp();
      //   }
      // }
      // put(url,"",functionRet,functionErr)
    });
    //清除缓存
    $(".set_footer_5").click(function(){
      api.clearCache(function() {
          api.toast({
              msg: '清除完成'
          });
      });
    })
    //关于协同育人平台
    $(".set_footer_6").click(function(){
      openPageAble('about','about.html');
    })
    //系统使用说明
    $(".set_footer_7").click(function(){
      openPageAble('explain','explain.html');
    })
    //用户协议
    $(".set_footer_8").click(function(){
      openPageAble('user_agreement','user_agreement.html');
    })
    //关于我们
    $(".set_footer_9").click(function(){
      openPageAble('about_us','about_us.html');
    })
  }
</script>
</html>
